package com.aiit.service.impl;

import com.aiit.dao.IMerchantDao;
import com.aiit.pojo.Merchant;
import com.aiit.service.IMerchantService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MerchantServiceImpl extends ServiceImpl<IMerchantDao, Merchant> implements IMerchantService {
    @Autowired
    IMerchantDao merchantDao;
    @Override
    public List<Merchant> queryAll() {
        return merchantDao.selectList(null);
    }
}
